package com.zhuyi.broadcast.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zhuyi.broadcast.pojo.domain.Element;
import com.zhuyi.broadcast.pojo.domain.Program;

import java.util.List;

/**
 * <p>
 *  节目类
 * </p>
 *
 * @author dyj
 * @since 2024-12-12
 */

public interface ProgramService extends IService<Program> {

    List<Program> list(Program program);

    /**
     * 删除节目
     * @param programId
     * @return
     */
    boolean removeProgram(Long programId);

    /**
     * 发送节目
     * @param programId
     * @param deviceId
     * @return
     */
    boolean sendProgram(Long programId, Long deviceId);
}
